package com.xiaoshangkou.hellopra.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaoshangkou.hellopra.pojo.UserGroup;
import org.apache.ibatis.annotations.Param;

public interface UserGroupMapper extends BaseMapper<UserGroup> {

    //删除用户所有权限
    void deleteUserGroupAllPermission2(Integer uid);

    //给用户添加权限
    void addUserGroupermission2(@Param("uid") Integer uid, @Param("peid2")Integer peid2);
}
